package video.background.Model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: video-backgroud
 * @description:
 * @author: hlt
 * @create: 2023-08-16 14:35
 **/
@ApiModel(value = "声纹识别的结果记录")
@Data
@TableName("opt_result")
@AllArgsConstructor
@NoArgsConstructor
public class OptResult {
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("操作的id")
    private Long recodeId;
    @ApiModelProperty("操作的用户名")
    private String userName;
    @ApiModelProperty("声纹识别的相似度，100.0为最高")
    private double score;
    @ApiModelProperty("声纹识别是否符合，取相似度最高且为90以上为符合")
    private String result;
}
